package com.tang.generate.domain

import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import com.tang.framework.core.domain.BaseEntity
import io.swagger.v3.oas.annotations.media.Schema
import lombok.Data

@Data
@Schema
@TableName(value = "gen_field")
class GenField(
    @TableField(value = "`table_id`")
    var tableId: Long? = null,

    @TableField(value = "`table_field`")
    var tableField: String? = null,

    @TableField(value = "`is_time`")
    var isTime: Boolean? = null,

    @TableField(value = "`field_type`")
    var fieldType: String? = null,

    @TableField(value = "`table_field_type`")
    var tableFieldType: String? = null,

    @TableField(value = "`name`")
    var name: String? = null,

    @TableField(value = "`comment`")
    var comment: String? = null,

    @TableField(value = "`search`")
    var search: Boolean? = true,

    @TableField(value = "`import`")
    var import: Boolean? = true,

    @TableField(value = "`add`")
    var add: Boolean? = true,

    @TableField(value = "`res`")
    var res: Boolean? = true,

    @TableField(value = "`detail`")
    var detail: Boolean? = true,

    @TableField(value = "`type`")
    var type: Boolean? = true,

    @TableField(value = "`export`")
    var export: Boolean? = true

) : BaseEntity<GenField>() {

}
